package com.kangfawei.decoration;

/**
 * @author 康发伟
 * 抽象装饰类
 */
abstract class Decoration implements Drink {

    private Drink drink;
    public Decoration(Drink drink){
        this.drink = drink;
    }
    public double price(){
        return this.drink.price();
    }
    public String info(){
        return this.drink.info();
    }
}
